package com.tuanzi.loan.business.entity.product.product;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * @Auther: hequnayu
 * @Date: 2019/7/15 15:30
 * @Description:
 */
@Data
@Entity
@Table(name = "loan_product_recharge_record")
public class LoanProductRechargeRecord implements Serializable {
    private static final long serialVersionUID = -1604161568943345890L;

    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    @Column(name = "PRODUCT_ID")
    private Long productId;

    @Column(name = "AMOUNT")
    private Double amount;

    @Column(name = "CREATOR")
    private String creator;

    @Column(name = "CREATE_TIME")
    private Date create_time;

    @Column(name = "REMARK")
    private String remark;
}
